package com.yonyou.gmmc.service.pointactivity.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Id;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 邮件日志模型
 * 
 * @author 徐庆锋
 *
 */

public class TmEmailLog {

	@Id
	@Column(name = "EMAIL_LOG_ID")
	private Long emailLogId;

	@Column(name = "SEND_EMAIL")
	private String sendEmail;

	@Column(name = "ACCEPT_EMAIL")
	private String acceptEmail;

	@Column(name = "STATE")
	private Integer state;

	@Column(name = "EMAIL_GROUP")
	private Long emailGroup;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name = "SEND_DATE")
	private Date sendDate;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name = "CREATE_DATE")
	private Date creatDate;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name = "UPDATE_DATE")
	private Date updatDate;

	@Column(name = "CREATE_BY")
	private Integer createBy;

	@Column(name = "UPDATE_BY")
	private Integer updateBy;

	public Long getEmailLogId() {
		return emailLogId;
	}

	public void setEmailLogId(Long emailLogId) {
		this.emailLogId = emailLogId;
	}

	public String getSendEmail() {
		return sendEmail;
	}

	public void setSendEmail(String sendEmail) {
		this.sendEmail = sendEmail;
	}

	public String getAcceptEmail() {
		return acceptEmail;
	}

	public void setAcceptEmail(String acceptEmail) {
		this.acceptEmail = acceptEmail;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Long getEmailGroup() {
		return emailGroup;
	}

	public void setEmailGroup(Long emailGroup) {
		this.emailGroup = emailGroup;
	}

	public Date getSendDate() {
		return sendDate;
	}

	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}

	public Date getCreatDate() {
		return creatDate;
	}

	public void setCreatDate(Date creatDate) {
		this.creatDate = creatDate;
	}

	public Date getUpdatDate() {
		return updatDate;
	}

	public void setUpdatDate(Date updatDate) {
		this.updatDate = updatDate;
	}

	public Integer getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Integer createBy) {
		this.createBy = createBy;
	}

	public Integer getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(Integer updateBy) {
		this.updateBy = updateBy;
	}

}
